import basic from '@common/basic';
import { merge } from 'lodash-es';
import core from '@common/core'
import tyUi from "@common/ty-ui";






//更改项
const originView = tyRoot.getExportResource('src/modules/rpm/business-module/project/index.vue');
import replaceView from './business-module/project/index.vue';

const originViewa = tyRoot.getExportResource('src/modules/rpm/business-module/project-infor-panel/components/project-tag.vue');
import replaceViewa from './business-module/project-infor-panel/components/project-tag.vue';

const originViewb = tyUi.getExportResource('src/ty-ui/lib/ty-checkbox/tysrc/ty-base-checkbox.vue');
import replaceViewb from './ty-ui/lib/ty-checkbox/tysrc/ty-base-checkbox.vue';

const originViewc = tyRoot.getExportResource('src/modules/rpm/business-module/project/components/project-edit.vue');
import replaceViewc from './business-module/project/components/project-edit.vue';

merge(originView, {
  default: replaceView
});

merge(originViewa, {
  default: replaceViewa
});


merge(originViewb, {
    default: replaceViewb
});

merge(originViewc, {
    default: replaceViewc
});



// tyRoot.router.addRoute({
//     path: '/project',
//     name: 'rpm',
//     meta: {
//       login: false // 需要登录的页面
//     },
//     component:replaceView // 挂载 客制化页面
// })


console.log('%rpm', 'color: red;font-size:20px;');